$('.input-type-multiple').on('click', function () {
    (function () {
        var _ref19 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee10() {
            var _ref20, formValues;

            return regeneratorRuntime.wrap(function _callee10$(_context10) {
                while (1) {
                    switch (_context10.prev = _context10.next) {
                        case 0:
                            _context10.next = 2;
                            return swal({
                                title: 'Multiple inputs',
                                html: '<input id="swal-input1" class="swal2-input" placeholder="first input field">' + '<input id="swal-input2" class="swal2-input" placeholder="second input field">',
                                focusConfirm: false,
                                preConfirm: function preConfirm() {
                                    return [$('#swal-input1').val(), $('#swal-input2').val()];
                                }
                            });

                        case 2:
                            _ref20 = _context10.sent;
                            formValues = _ref20.value;

                            formValues && swal(JSON.stringify(formValues));

                        case 5:
                        case 'end':
                            return _context10.stop();
                    }
                }
            }, _callee10, this);
        }));

        function getForm() {
            return _ref19.apply(this, arguments);
        }

        return getForm;
    })()();
});

function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then(function (value) { step("next", value); }, function (err) { step("throw", err); }); } } return step("next"); }); }; }